package com.itzyf.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itzyf.service.BookService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BookController {
    @Reference
     BookService service;
    @RequestMapping("/find")
    public String find(){
        service.find();
        return "ok";
    }
}

